package com.wanhugou.payment.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanhugou.payment.dao.PayLogDao;
import com.wanhugou.payment.domain.PayLog;
import com.wanhugou.payment.service.PayLogService;

@Service
public class PayLogServiceImpl implements PayLogService{

	@Autowired
	private PayLogDao dao;
	
	@Override
	public String selectByNo(String out_trade_no) {
		return dao.selectByNo(out_trade_no);
	}

	@Override
	public int insert(PayLog transfer) {
		return dao.insert(transfer);
	}

	@Override
	public int updateStatus(String out_trade_no) {
		return dao.updateStatus(out_trade_no);
	}

	@Override
	public int update(PayLog transfer) {
		return dao.update(transfer);
	}

}
